<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title th:text="${product.title} + ' - 官网'"/>
    <link rel="shortcut icon" href="/static/index/img/favicon.ico">
    <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700&amp;subset=latin-ext" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/static/index/app/assets/css/plugins.css">
    <link rel="stylesheet" type="text/css" href="/static/index/app/assets/css/main.css">
    <style>
        body {
            background-color: #f5f5f5;
            font-family: 'Roboto', sans-serif;
        }
        .hero {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 0;
        }
        .product-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }
        .product-image {
            max-width: 45%;
            border-radius: 10px;
            overflow: hidden;
        }
        .product-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        .product-details {
            max-width: 50%;
            padding-left: 40px;
        }
        .product-title {
            font-size: 28px;
            font-weight: 500;
            color: #333;
            margin-bottom: 20px;
        }
        .product-description {
            font-size: 18px;
            color: #666;
            line-height: 1.6;
        }
        @media (max-width: 768px) {
            .product-container {
                flex-direction: column;
            }
            .product-image, .product-details {
                max-width: 100%;
                padding: 0;
            }
            .product-details {
                margin-top: 20px;
            }
        }
    </style>
</head>
<body>
<div class="hero">
    <div class="product-container">
        <div class="product-image">
            <dt><img th:src="'/UploadFilePath/product/' + ${product.picture}" th:alt="${product.title}"></dt>
        </div>
        <div class="product-details">
            <p class="product-title" th:text="${product.title}"></p>
            <p class="product-description" th:text="${product.remark}"></p>
        </div>
    </div>
</div>
<script type="text/javascript" src="/static/index/app/assets/js/plugins.js"></script>
<script type="text/javascript" src="/static/index/app/assets/js/main.js"></script>
</body>
</html>